<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><s:text name="context.title"/></title>
<%@ include file="/common/meta.jsp"%>
<link href="${ctx}/js/uploadify/uploadify.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="${ctx}/js/uploadify/jquery-ui.min.js"></script>
<script type="text/javascript" src="${ctx}/js/uploadify/swfobject.js"></script>
<script type="text/javascript" src="${ctx}/js/uploadify/jquery.uploadify.min.js"></script>
<link href="${ctx}/js/uploadify/uploadify.css" type="text/css" rel="stylesheet"/>
  <link rel="stylesheet" href="${ctx}/js/cluetip/jquery.cluetip.css" type="text/css" />
  <script src="${ctx}/js/cluetip/jquery.cluetip.min.js" type="text/javascript"></script>
  <script type="text/javascript">
  	$(document).ready(function(){
		$(".link_go").click(function(){
			$("#college").val(this.title);
			$("#inputForm").submit();
			});
  	  	});
  </script>
</head>
<body>
<form action="student-imp-confirm" method="post">
<br/>
<p align="center"><s:actionmessage theme="mytheme" cssClass="actionMessage"/></p>
<h1 class="title01"><img src="${ctx}/images/02_15.gif" width="45" height="42" class="fl"/>确认学生数据</h1>
<s:if test="resutlist != null && resutlist.size() != 0">
<center>
本次导入总数 ：<s:text name="format.number"><s:param value="totail.studentCnt"/></s:text>  
学生人数 ：<s:text name="format.number"><s:param value="totail.studentCnt"/></s:text>  
学院数：<s:text name="format.number"><s:param value="totail.collegeCnt"/></s:text>  
专业数：<s:text name="format.number"><s:param value="totail.departmentCnt"/></s:text>
确认数：<s:text name="format.number"><s:param value="totail.okCnt"/></s:text>
未确认数：<s:text name="format.number"><s:param value="totail.noCnt"/></s:text> 
</center>
  <hr color="#FF0000" align="center"/>
</s:if>
<s:if test="resutlist != null && resutlist.size() != 0">
<table id="contentTable1" class="table_ys tableColor table_ys_input">
	<tr>
		<th>序号</th>
		<th>学院</th>
		<th>专业数</th>
		<th>学生数</th>
		<th>确认数</th>
		<th>未确认数</th>
		<th>操作</th>
	</tr>
	<s:iterator var="v" value="resutlist" status="st">
	<!-- 考虑到可能导入上千条数据。这时如果全部分显示出来IE可能会受不了，所以，默认只显示50条 -->
	<tr>
		<td>${st.index +1}&nbsp;</td>
		<td>${college }&nbsp;</td>
		<td>${d }&nbsp;</td>
		<td>${c }&nbsp;</td>
		<td>${ok }&nbsp;</td>
		<td>${no }&nbsp;</td>
		<td><a href="javascript:;" class="link_go" title="${college }">查看确认</a>&nbsp;</td>
	</tr>
	</s:iterator>
</table>
</s:if>
</form>
<form method="post" id="inputForm" action="student-imp-confirm!input">
	<input type="hidden" id="college" name="college" value=""/>
</form>
</body>

</html>